package com.byl.modules.sys.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/11/15/015.
 */
@Mapper
public interface DictDao {

    public List<Map> listDictChild(@Param("parentID") String parentID);

    public int checkCode(@Param("dictCode") String code);

    public int saveDict(Map map);

    public int deleteDict(@Param("id") String id);

    public int editStatus(Map map);

    public int updateDict(Map map);

    public List<Map> queryDictByParentType(@Param("type") String type);

    public List<Map> queryChildDict(@Param("type") String type);

    public List<Map> queryDictType();
}
